Repository navigation
Conversation
houko
force-pushed
the
feat/editor-ai-first-layout-1007
branch
from
November 26, 2026 11:39
563947d to
e4d2009
Compare
houko
force-pushed
the
feat/editor-ai-first-layout-1007
branch
from
November 26, 2026 11:57
e4d2009 to
7e63464
Compare
houko
force-pushed
the
feat/editor-ai-first-layout-1007
branch
from
November 26, 2026 12:14
7e63464 to
0991ae4
Compare
houko
force-pushed
the
feat/editor-ai-first-layout-1007
branch
from
November 26, 2026 12:33
0991ae4 to
116a61a
Compare
houko
force-pushed
the
feat/editor-ai-first-layout-1007
branch
from
November 26, 2026 12:33
116a61a to
c80011c
Compare
houko
force-pushed
the
feat/editor-ai-first-layout-1007
branch
from
November 26, 2026 12:53
c80011c to
65b341e
Compare
…or tabs, and status bar
…uage reactivity, and scene tree tab sync
houko
force-pushed
the
feat/editor-ai-first-layout-1007
branch
from
November 26, 2026 12:57
65b341e to
a7c1896
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1007
Summary
Replaces the legacy multi-group editor toolbar shell with the AI-first five-region main layout matching
docs/design/editor/Main.dc.htmlanddocs/design/editor/Spec.dc.html:mainHeaderView):<project> / <scene>breadcrumb with File menu and unsaved dot (Label: "unsaved changes"), centered icon-only toolbase.RadioGroup(Select V,Move W,Rotate E,Scale R,Pan Spaceusing 1.8 px@15 pxcurrentColorLucide strokes and"Label · key"tooltips),2D / 3Dsegmented radio group,History (⌘Y)icon button,Search ⌘K, andPlay (⌘P)as the single primary button.leftRailSceneView):Scene / Assetsswitcher,SCENE · N nodes, scene tree rows with kind dots, kind tags, andNEWbadges on pending-review proposed objects, plus bottomFILESlisting the open scene, prefabs/instanced scenes it uses, andgame.yaml. Selecting a tree row switches the right rail to Inspector.Camera · W × Hcaption above the 2D camera frame, bottom bar (Zoom out, zoom%,Zoom in,Snapbase.SwitchwithRoleSwitch,Fit,Overlays N), and top-left overlay legend slot.RightRailView):Agent(⌘1) andInspector(⌘2) radio tabs alongside the live MCP connection chip (Connected · MCPand all five states) with wrapping header layout soDisconnectedcontrols never clip.mainStatusBarView): muted text onbgwith active layer toggle, live 2D pointer coordinates, current tool, problem count pill (opening Problems), Output, and Debugger. All legacy toolbar panels remain reachable via Command Palette (⌘K), Menu bar, Settings, and Status bar.WorkspaceState,SceneOpenError): designed states across all regions forWorkspaceNoProject,WorkspaceNoScene,WorkspaceLoading, andWorkspaceSceneError(missing scene and malformed YAML with path, line, message, fix guidance, Retry, and Dismiss instead of a blank viewport).docs/en/editor.mdanddocs/zh/editor.md, addedchangelog.d/editor-ai-first-main-layout.md, and recorded the design decision in.agents/notes/implemented/feature/2026-11-26-editor-ai-first-main-layout.md.Verification
cd packages/game && go tool nsgo test ./editor -- -run 'TestMainLayout|TestF6CyclesRegions|TestProblemsPanelMissingAtlasFrameFixAndSave|TestProblemsPanelPressSelectsNonSceneInFileBrowser|TestSceneTreeFollowsAndDrivesMultiSelection|TestShortcutsSameScopeConflictSwapAndDifferentScopeAllowed|TestNewSceneAndSaveAsFromTheToolbar|TestLocaleCatalogsComplete|TestToolbarTabFocusRing|TestOpenFileErrorNamesFileLineAndFix|TestAgentReconnectSchedule'— passed (includingTestMainLayoutAt1440x900,TestMainLayoutSpecControlsA11yAndHitAreas,TestMainLayoutLegacyPanelsRemainReachable,TestMainLayoutEmptyLoadingAndErrorStates, andTestMainLayoutMacOSScreenshots)cd packages/game && go tool nsgo check ./editor— passedcd packages/game && go run ./cmd/gameschema -check— passedgit ls-files -z -- '*.go' | xargs -0 gofmt -l— cleango run ./tools/changelog check— passedbun run verify-notes— passed